<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
<div class="twisplay">
  <div class="avatar">
    <%= image_tag @tweet.user_profile_image_url %>
  </div>
  <div class="message">
    <p class="author">
      <%= link_to @tweet.user_name, "https://twitter.com/intent/user?screen_name=#{@tweet.user_screen_name}" %>      
    </p>
    <p class="tweet">
      <%= @tweet.text.html_safe %>
    </p>
    <div class="twitter_links">
      <div class="date">
        <%= link_to image_tag("twisplay/bird_16_gray.png") + " #{@tweet.tweet_created_at.strftime("%d %b")}", "https://twitter.com/#!/#{@tweet.user_screen_name}/status/#{@tweet.tweet_id}" %>
        
      </div>
      <div class="reply">
        <%= link_to image_tag("twisplay/reply.png") + " Reply", "https://twitter.com/intent/tweet?in_reply_to=#{@tweet.tweet_id}" %>
      </div>
      <div class="retweet">
        <%= link_to image_tag("twisplay/retweet.png") + " Retweet", "https://twitter.com/intent/retweet?tweet_id=#{@tweet.tweet_id}" %>
      </div>
      <div class="favorite">
        <%= link_to image_tag("twisplay/favorite.png") + " Favorite", "https://twitter.com/intent/favorite?tweet_id=#{@tweet.tweet_id}" %>
      </div>
    </div>
  </div>
</div>